package com.ckcool.blog.service;

import com.ckcool.blog.vo.Result;
import com.ckcool.blog.vo.params.ArticleParam;
import com.ckcool.blog.vo.params.PageParams;

/**listArticle
 * @author ckcool
 */
public interface ArticleService {
    Result listArticle(PageParams pageParams);

    Result hotArticle(int limit);

    Result newArticle(int limit);

    Result listArchives();

    Result findArticleById(Long articleId);

    Result publish(ArticleParam articleParam);
}
